﻿using Eagles.Application.Model.Enums;

namespace Eagles.Application.Model.News.GetPublicUserNewsDetail
{
    /// <summary>
    /// 文章公开详情查询
    /// </summary>
    public class GetPublicUserNewsDetailResponse
    {
        /// <summary>
        /// 文章编号
        /// </summary>
        public int NewsId { get; set; }

        /// <summary>
        /// 文章类型 00:文章 01:心得体会 02:会议 03:入党申请
        /// </summary>
        public NewsEnum NewsType { get; set; }

        /// <summary>
        /// 文章发表人
        /// </summary>
        public int UserId { get; set; }

        /// <summary>
        /// 文章发表人
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 文章标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 文章描述
        /// </summary>
        public string HtmlContent { get; set; }

        /// <summary>
        /// 文章缩略图
        /// </summary>
        public string ImageUrl { get; set; }

        /// <summary>
        /// 阅读数量
        /// </summary>
        public int ViewCount { get; set; }

        public string BookName { get; set; }

        public string BookAuthor { get; set; }

        /// <summary>
        /// 点赞数量
        /// </summary>
        public int LikeCount { get; set; }

        /// <summary>
        /// 收藏数量
        /// </summary>
        public int FavoritesCount { get; set; }
    }
}